import type { SearchPageTypes } from '@/types/base/api'

export interface ${className}AddDTOType {
<#if columns??>
<#list columns as column>
<#if !column.keyFlag>
    <#if !column.isParent>
    ${column.fieldName}:${column.frontType}
    </#if>
</#if>
</#list>
</#if>
}

export interface ${className}UpdateDTOType {
<#if columns??>
<#list columns as column>
    <#if !column.isParent>
     ${column.fieldName}:${column.frontType}
    </#if>
</#list>
</#if>
}

export interface ${className}SearchDTOType {
<#if columns??>
<#list columns as column>
<#if column.searchInfo??>
    ${column.fieldName}:${column.frontType}
</#if>
</#list>
</#if>
    page: SearchPageTypes
}

export interface ${className}SearchVOType {
<#if columns??>
<#list columns as column>
    ${column.fieldName}:${column.frontType}
</#list>
</#if>
}
